package com.example.observer.dubbo.listener;

import com.example.observer.dubbo.EventListener;
import com.example.observer.dubbo.event.AddEvent;

public class AddEventListener2 implements EventListener<AddEvent> {
    @Override
    public void onEvent(AddEvent event) {
        System.out.println(Thread.currentThread().getName() +"-add event2 ....." + event);
    }

    @Override
    public int getPriority() {
        return 0;
    }
}
